package com.aios.entity;

import com.opensymphony.xwork2.validator.annotations.EmailValidator;
import com.opensymphony.xwork2.validator.annotations.ValidatorType;

public class IrisUser extends AbstractEntity{

	private String employeeId;
	private String name;
	private String initials;
	private String gender;
	private String email;
	private String iris;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public String getEmail() {
		return email;
	}

	@EmailValidator(message = "Enter a valid email address", type = ValidatorType.SIMPLE)
	public void setEmail(String email) {
		this.email = email == null ? null : email.trim();
	}

	public String getIris() {
		return iris;
	}

	public void setIris(String iris) {
		this.iris = iris == null ? null : iris.trim();
	}
	
	public String getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId == null ? null : employeeId.trim();
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender == null ? null : gender.trim();
	}

	public String getInitials() {
		return initials;
	}

	public void setInitials(String initials) {
		this.initials = initials == null ? null : initials.trim();
	}
}